constraints: Add some internal apis
authorMatthias Clasen <mclasen@redhat.com>
Sat, 29 Jun 2019 14:21:58 +0000 (14:21 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Sun, 30 Jun 2019 23:10:11 +0000 (00:10 +0100)
commite3c4fb67cac173e37be320f48566d410eca87fed
tree6062e3768b53072066b93472f28ccd2a80f4447f
parenta9dfca04e4403b9e7b17e9550a7b837c1b232f2c
constraints: Add some internal apis

Checking if a set is empty or a singleton can
be done more efficiently than determining its size.
gtk/gtkconstraintexpression.c
gtk/gtkconstraintexpressionprivate.h
gtk/gtkconstraintsolver.c